home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import javax.accessibility.AccessibleAction;
- import javax.accessibility.AccessibleRole;
-
- public class JComboBox$AccessibleJComboBox extends JComponent.AccessibleJComponent implements AccessibleAction {
- // $FF: synthetic field
- private final JComboBox this$0;
-
- protected JComboBox$AccessibleJComboBox(JComboBox var1) {
- super(var1);
- this.this$0 = var1;
- }
-
- public boolean doAccessibleAction(int var1) {
- if (var1 == 0) {
- this.this$0.setPopupVisible(this.this$0.isPopupVisible() ^ true);
- return true;
- } else {
- return false;
- }
- }
-
- public AccessibleAction getAccessibleAction() {
- return this;
- }
-
- public int getAccessibleActionCount() {
- return 1;
- }
-
- public String getAccessibleActionDescription(int var1) {
- return var1 == 0 ? new String("togglePopup") : null;
- }
-
- public AccessibleRole getAccessibleRole() {
- return AccessibleRole.COMBO_BOX;
- }
- }
-